package com.ymatou.cs.api.service;

import org.json.JSONObject;

import com.sun.javafx.logging.Logger;
import com.ymatou.app.api.service.TokenLoginAuthCall;
import com.ymt.base.YmatouBaseCall;
import com.ymttest.business.YmatouAutoTestCall;
import com.ymttest.business.service.LiveCallService;
import com.ymttest.utils.EnvSetup;
/**
*CreateReturnApplyBillCall
*FreeMaker Template自动生成代码
*/
public class CreateReturnApplyBillCall extends YmatouAutoTestCall{
	
	static String AccessToken;
	private static String opurl = "api/Returns/ReturnBill/CreateReturnApplyBill?isNew=true&AccessToken=";
 
	public CreateReturnApplyBillCall(String sellerid , String password) {
				
		super(EnvSetup.getSystemUrl("api_cs"),opurl + new TokenLoginAuthCall().getToken(sellerid, password) ,"POST","JSON");
	}
	
	
	@Override
	public void addDefHeader() {
		client.addHeader("Accept","text/xml,text/javascript,text/html,application/json");
		client.addHeader("Content-Type", "application/json; charset=UTF-8");
		
		
	}
}